package com.foton.lotteryinterfaces;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@EnableDubbo
@MapperScan(basePackages = {"com.foton.lotteryinfrastructure"})
@ComponentScan(value = {"com.foton.lotterydomain", "com.foton.lotteryinfrastructure",
        "com.foton.lotteryapplication","com.foton.lotteryinterfaces"})
@SpringBootApplication
public class LotteryInterfacesApplication {
    public static void main(String[] args) {
        SpringApplication.run(LotteryInterfacesApplication.class, args);
    }

}
